home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Super Shareware Collection
/
Super Shareware Collection.iso
/
os_2
/
epmgcc10.zip
/
GCCMENU.E
< prev
next >
Wrap
Text File
|
1994-01-02
|
2KB
|
35 lines
/*
╔══════════════════════════════════════════════════════════════════════════════╗
║ What's it called: EPMGCC V1.00 ║
║ ║
║ What does it do: The E source code for the GCC-Interface ║
║ for EPM. This file is included by PROCESSMENUINIT ║
║ in stdctrl.e for setting menu attributes. ║
║ ║
║ Who and When: B. Bablok 12/93 - 01/94 ║
║ ║
╚══════════════════════════════════════════════════════════════════════════════╝
*/
-- since this file is included at the end of PROCESSMENUINIT (via mymnuini.e)
-- we cannot put any global declarations here. We need to use a procedure call
-- to get the value of universal variables.
IF menuid=33 THEN -- GCC menu ID is 33
SetMenuAttribute( 3301, 16384, NOT gcc_project_open()) -- gray out items
SetMenuAttribute( 3302, 16384, gcc_project_open())
SetMenuAttribute( 3303, 16384, gcc_project_open())
SetMenuAttribute( 3305, 16384, gcc_is_cc_file())
SetMenuAttribute( 3306, 16384, gcc_is_cc_file())
SetMenuAttribute( 3307, 16384, gcc_project_open())
SetMenuAttribute( 3308, 16384, gcc_project_file_exists())
SetMenuAttribute( 3309, 16384, gcc_error_file_exists())
SetMenuAttribute( 3311, 16384, gcc_exe_exists())
SetMenuAttribute( 3312, 16384, gcc_exe_exists())
SetMenuAttribute( 3314, 8192, NOT get_gcc_debug_mode()) -- set checkmark
SetMenuAttribute( 3315, 8192, NOT get_gcc_autosave_mode())
SetMenuAttribute( 3316, 8192, NOT get_gcc_verbose_mode())
RETURN
ENDIF